package com.bootdo.system.domain;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


public class UserDO implements Serializable {
    private static final long serialVersionUID = 1L;
    
    //删除标识
    private int delflag;
    
    
    //升级代理标记
    private int flag;
    
    //公司类型
    private String companyType;
    
    //证书编号
    private String authNo;
    
    //我的上级
    private long myupper;
    
    //上级名称
    private String pname;
    
    //当前速用币
    private long wyzMoney;
    
    //总充值速用币
    private long wyzAllmoney;
    
    //邀请码
    private String inviteCode;
    
    private Long id;
   
    // 用户真实姓名
    private String companyName;
    // 密码
    private String password;
    // 代理级别
    private long agencyRank;
    
    //代理名称
    private String deptName;
  
    
    // 手机号
    private String phone;
    // 状态 0:禁用，1:正常
    private Integer status;

    // 创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date addTime;
    
    //角色
    private List<Long> roleIds;

    //现居住地
    private String liveAddress;

    //省份
    private String province;
    //所在城市
    private String city;
    //所在地区
    private String district;
    
    //直接上级
    private long oldupper;
   
    private Integer firstlogin;
    
    //角色ID
    private long  roleId; 
    
    //用户图像
    private String userPic;
    
    

    
    public long getRoleId() {
		return roleId;
	}
	public void setRoleId(long roleId) {
		this.roleId = roleId;
	}
	public int getDelflag() {
		return delflag;
	}
	public void setDelflag(int delflag) {
		this.delflag = delflag;
	}
	public String getCompanyType() {
		return companyType;
	}
	public void setCompanyType(String companyType) {
		this.companyType = companyType;
	}
	public int getFlag() {
		return flag;
	}
	public void setFlag(int flag) {
		this.flag = flag;
	}

	public String getAuthNo() {
		return authNo;
	}

	public void setAuthNo(String authNo) {
		this.authNo = authNo;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}


	public long getWyzMoney() {
		return wyzMoney;
	}
	public void setWyzMoney(long wyzMoney) {
		this.wyzMoney = wyzMoney;
	}
	public long getWyzAllmoney() {
		return wyzAllmoney;
	}
	public void setWyzAllmoney(long wyzAllmoney) {
		this.wyzAllmoney = wyzAllmoney;
	}
	public long getMyupper() {
		return myupper;
	}

	public void setMyupper(long myupper) {
		this.myupper = myupper;
	}

    public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public long getAgencyRank() {
		return agencyRank;
	}
	public void setAgencyRank(long agencyRank) {
		this.agencyRank = agencyRank;
	}
	public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

  
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }





    public String getInviteCode() {
		return inviteCode;
	}
	public void setInviteCode(String inviteCode) {
		this.inviteCode = inviteCode;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	public List<Long> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Long> roleIds) {
        this.roleIds = roleIds;
    }


    public String getLiveAddress() {
        return liveAddress;
    }

    public void setLiveAddress(String liveAddress) {
        this.liveAddress = liveAddress;
    }


    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }
	public long getOldupper() {
		return oldupper;
	}
	public void setOldupper(long oldupper) {
		this.oldupper = oldupper;
	}
	
	public Integer getFirstlogin() {
		return firstlogin;
	}
	public void setFirstlogin(Integer firstlogin) {
		this.firstlogin = firstlogin;
	}
	
	
	public String getUserPic() {
		return userPic;
	}
	public void setUserPic(String userPic) {
		this.userPic = userPic;
	}
	@Override
	public String toString() {
		return "UserDO [flag=" + flag + ", companyType=" + companyType + ", authNo=" + authNo + ", myupper=" + myupper
				+ ", pname=" + pname + ", wyzMoney=" + wyzMoney + ", wyzAllmoney=" + wyzAllmoney + ", inviteCode="
				+ inviteCode + ", id=" + id + ", companyName=" + companyName + ", password=" + password
				+ ", agencyRank=" + agencyRank + ", deptName=" + deptName + ", phone=" + phone + ", status=" + status
				+ ", addTime=" + addTime + ", roleIds=" + roleIds + ", liveAddress=" + liveAddress + ", province="
				+ province + ", city=" + city + ", district=" + district + ", oldupper=" + oldupper + ", firstlogin="
				+ firstlogin + "]";
	}

	
}
